<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<include file="Public/head" />
<link href="__STATIC__/css/user.css" type="text/css" rel="stylesheet" />
</head>

<body class="body_bg">
<include file="Public/top" />

<div class="page_minheight">
<div class="login_tit login_tit_white">
  <div class="return"><a href="{:U('User/index')}"><i class="icon-fanhui"></i></a></div>
  <span>我收藏的店铺</span>
</div><!--login_tit-->
<div class="page_in">
  <foreach name="lists" item="v" key="k">
  <div class="order_li">
    <div class="order_sli2"><a href="{:U('Goods/goodsInfo',array('id'=>$v[goods_id]))}"><span><php>if($v[goods][goods_type]==3){</php><img src="__STATIC__/images/sico_tm.png" /><php>}elseif($v[goods][goods_type]==4){</php><img src="__STATIC__/images/sico_tb.png" /><php>}elseif($v[goods][goods_type]==5){</php><img src="__STATIC__/images/sico_jd.png" /><php>}elseif($v[goods][goods_type]==6){</php><img src="__STATIC__/images/sico_qt.png" /><php>}</php></span>{$v.goods.seller_title}</a></div>
    <div class="order_sli"><div class="ll">出售价格</div><div class="rr">￥<span class="red">{$v.goods.price}</span></div></div>
    <div class="order_sli"><div class="ll">销售状态</div><div class="rr"><if condition="$v[goods][status] eq 1">待售<else />已售</if></div></div>
    <div class="order_sli2 order_slia">
      <if condition="$v[goods][status] eq 1">
      <a href="{:U('Goods/goodsInfo',array('id'=>$v[goods_id]))}"  >购买</a>
      <a href="javascript:void(0)" onclick="cancel_sc({$v.collect_id})">删除</a>
      <else />
      <a href="javascript:void(0)" onclick="cancel_sc({$v.collect_id})">删除</a>
      </if>
    </div><!--order_slia-->
  </div><!--order_li-->
  </foreach>
  
  {$page}
</div><!--page_in-->
</div><!--page_minheight-->

<script>
//取消收藏
function cancel_sc(id)
{
	url = "/index.php?m=Mobile&c=User&a=del_goods_collect&id="+id;
	tip_confirm('确定取消收藏吗?',url);
}
</script>

<include file="Public/footer" />
<script src="__STATIC__/js/global_after.js" type="text/javascript"></script>
</body>
</html>